/**
 * Copyright (c) 2024,  科泰集团教研团队
 * 版权所有，请勿侵权
 */
package com.ktjiaoyu.mapper;
import com.ktjiaoyu.entity.StorageRecord;
import org.apache.ibatis.annotations.Param;
import java.util.List;

/**
 *
 * @author 科泰集团教研团队
 * @packageName com.ktjiaoyu
 * @fileName StorageRecord.java
 * @createTime 2024/10/22 09:31:42
 * @lastModify 2024/10/22 09:31:42
 * @version 1.0.0
 */
public interface StorageRecordMapper{
	public List<StorageRecord> getPage(@Param("entity") StorageRecord entity, @Param("offset") Integer offset, @Param("pageSize") Integer pageSize);
	public Long count(@Param("entity") StorageRecord entity);
	public List<StorageRecord> getAll();
	public StorageRecord getById(Long id);
	public int insert(StorageRecord entity) throws Exception;
	public int update(StorageRecord entity) throws Exception;
	public int delete(Long id) throws Exception;

	StorageRecord getBySrCode(String srCode);
}
